package com.sunzr0119.conventioncentertemplatebackend.entity;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "files")
public class File {
    @Id
    private String id;
    private String uploaderId;
    private String fileName;
    private String contentType;
    private long size;
    private String gridFsId;  // GridFS 存储的 ObjectId
}
